#include<iostream>
#include<string>

using namespace std;

class Fan {
public:
    Fan(float s, float r, string c, string p) {
        speed = s;
        radius = r;
        color = c;
        zt = p;
    }

    void display() {
        cout << "speed:" << speed << "    radius:" << radius << "   color:" << color << "    condition:" << zt << endl;
    }

private:
    float speed;
    float radius;
    string color;
    string zt;
};

int main() {
    Fan fan1(3, 10, "yellow", "on");
    fan1.display();
    Fan fan2(2, 5, "blue", "off");
    fan2.display();
    return 0;
}